import Vue from 'vue'
import App from './App.vue'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'


import axios from 'axios';
Vue.prototype.$axios = axios;
//axios.defaults.baseURL = 'http://20.239.50.179:8000/api';
axios.defaults.baseURL = 'http://127.0.0.1:8000/api';

import VueRouter from 'vue-router';

Vue.use(ElementUI);
Vue.use(VueRouter);


Vue.config.productionTip = false

import router from './router';

new Vue({
  render: h => h(App),
  router:router
}).$mount('#app')
